/**
 * @project lauwsys
 */
package com.chimoz.lauwsys.business.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.chimoz.lauwsys.business.AgentManager;
import com.chimoz.lauwsys.domain.Agent;
import com.chimoz.lauwsys.repository.AgentRepository;

/**
 * @author Christian Teguh
 * @created 3 Okt 2011 20.32.52
 */
@Service
public class SimpleAgentManager implements AgentManager {
	
	@Autowired
	private AgentRepository agentRepository;
	
	public Agent createAgent(Agent agent) {
		return null;
	}


	public Agent editAgent(Agent agent) {
		return null;
	}


	public void removeAgent(Agent agent) {
		
	}

	@Transactional(readOnly = true)
	public Agent getAgentById(Long id) {
		return agentRepository.getAgentById(id);
	}
	
	public List<Agent> listAgent(String criteria) {
		return null;
	}
	
}
